<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        li {
            list-style: none;
        }

        a {
            text-decoration: none;
        }

        .tb-promo {
            position: relative;
            width: 520px;
            height: 280px;
            background-color: pink;
            margin: 100px auto;
        }
        .prev,
        .next{
            position: absolute;
            top: 50%;
            /* 高度的百分之50 */
            margin-top: -15px;
            width: 20px;
            height: 30px;
            line-height: 30px;
            background: rgba(0, 0, 0, .3);
            color: #fff;
        }
        .prev {
            left: 0;
            text-align: left;
            border-radius: 0 15px 15px 0;
        }
        .next {
            right: 0;
            text-align: right;
            border-radius: 15px 0 0 15px;
        }
        .promo-nav{
            position: absolute;
            left: 50%;
            /* 宽度的一半 */
            margin-left: -35px;
            bottom: 15px;
            width: 70px;
            height: 13px;
            background: rgba(255, 255, 255, .3);
            border-radius: 7px;
        }
        .promo-nav li {
            float: left;
            width: 8px;
            height: 8px;
            margin: 3px;
            background-color: #fff;
            border-radius: 4px;
        }
    </style>
</head>

<body>
    <div class="tb-promo">
        <img src="../images/tb.jpg" alt="" 淘宝图  title="淘宝图">
        <a href="" class="prev"> &lt; </a>
        <a href="" class="next"> &gt; </a>
        <ul class="promo-nav">
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
        </ul>
    </div>
</body>

</html>